package com.codedancer.campus.client.service.vo.confessionalWall;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import java.util.List;
import lombok.Data;

@Data
@ApiModel("表白墙分页Vo")
public class ConfessionalWallPageVo {

    @ApiModelProperty("uuid")
    private String uuid;

    @ApiModelProperty("发布人昵称")
    private String publishNickName;

    @ApiModelProperty("发布人头像")
    private String avatar;

    @ApiModelProperty("内容")
    private String content;

    @ApiModelProperty("图片")
    private List<String> images;

    @ApiModelProperty("发布时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty("浏览数量")
    private Integer viewCount;

    @ApiModelProperty("评论数量")
    private Integer commentCount;

    @ApiModelProperty("点赞数量")
    private Integer kudosCount;

    @ApiModelProperty("是否开启评论")
    private Boolean isOpenComment;

    @ApiModelProperty("是否同步到自由广场")
    private Boolean isSyncLibertySquare;
}
